
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module validate</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>validate</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/Phillip/apjac373/pydoc/validate.py">/home/Phillip/apjac373/pydoc/validate.py</a></font></td></tr></table>
    <p></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="re.html">re</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#eeaa77">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr>
    
<tr><td bgcolor="#eeaa77"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt><a name="-coursesToTAs"><strong>coursesToTAs</strong></a>(courses, tas)</dt><dd><tt>courses&nbsp;is&nbsp;a&nbsp;list&nbsp;of&nbsp;courses<br>
tas&nbsp;is&nbsp;a&nbsp;dict&nbsp;with&nbsp;keys:values&nbsp;of&nbsp;taFormName:selectedTaName<br>
return&nbsp;dict&nbsp;of&nbsp;bad&nbsp;TA:course&nbsp;parings&nbsp;where&nbsp;TA&nbsp;assigned&nbsp;multiple&nbsp;times&nbsp;to&nbsp;given&nbsp;course.</tt></dd></dl>
 <dl><dt><a name="-dropDown"><strong>dropDown</strong></a>(s)</dt><dd><tt>return&nbsp;false&nbsp;if&nbsp;s&nbsp;is&nbsp;default&nbsp;--make&nbsp;selection--&nbsp;<br>
return&nbsp;false&nbsp;if&nbsp;s&nbsp;is&nbsp;blank<br>
return&nbsp;true&nbsp;otherwise</tt></dd></dl>
 <dl><dt><a name="-dropDownMult"><strong>dropDownMult</strong></a>(s)</dt><dd><tt>return&nbsp;false&nbsp;if&nbsp;s&nbsp;is&nbsp;blank<br>
return&nbsp;true&nbsp;otherwise</tt></dd></dl>
 <dl><dt><a name="-quickSearch"><strong>quickSearch</strong></a>(s)</dt><dd><tt>Validates&nbsp;string&nbsp;for&nbsp;quickSearch.<br>
Zero&nbsp;or&nbsp;more&nbsp;of&nbsp;any&nbsp;character&nbsp;is&nbsp;valid&nbsp;(kinda&nbsp;silly&nbsp;to&nbsp;even&nbsp;check)</tt></dd></dl>
 <dl><dt><a name="-validate2"><strong>validate2</strong></a>(s)</dt><dd><tt>Validate&nbsp;that&nbsp;s&nbsp;is&nbsp;2&nbsp;numbers</tt></dd></dl>
 <dl><dt><a name="-validate3"><strong>validate3</strong></a>(s)</dt><dd><tt>Validate&nbsp;that&nbsp;s&nbsp;is&nbsp;3&nbsp;numbers</tt></dd></dl>
 <dl><dt><a name="-validate4"><strong>validate4</strong></a>(s)</dt><dd><tt>Validate&nbsp;that&nbsp;s&nbsp;is&nbsp;4&nbsp;numbers</tt></dd></dl>
 <dl><dt><a name="-validateCourseNumber"><strong>validateCourseNumber</strong></a>(s)</dt><dd><tt>Validates&nbsp;string&nbsp;for&nbsp;courseNumber.</tt></dd></dl>
 <dl><dt><a name="-validateEmail"><strong>validateEmail</strong></a>(email)</dt><dd><tt>Pulled&nbsp;this&nbsp;from&nbsp;<a href="http://code.activestate.com/recipes/65215/">http://code.activestate.com/recipes/65215/</a></tt></dd></dl>
 <dl><dt><a name="-validateFirstName"><strong>validateFirstName</strong></a>(s)</dt><dd><tt>Validates&nbsp;string&nbsp;for&nbsp;firstName.</tt></dd></dl>
 <dl><dt><a name="-validateLastName"><strong>validateLastName</strong></a>(s)</dt><dd><tt>Validates&nbsp;string&nbsp;for&nbsp;numTas.</tt></dd></dl>
 <dl><dt><a name="-validateNoIntersection"><strong>validateNoIntersection</strong></a>(c1, c2)</dt></dl>
 <dl><dt><a name="-validateNumStudents"><strong>validateNumStudents</strong></a>(s)</dt><dd><tt>Validates&nbsp;string&nbsp;for&nbsp;numStudents.</tt></dd></dl>
 <dl><dt><a name="-validateNumTas"><strong>validateNumTas</strong></a>(s)</dt><dd><tt>Validates&nbsp;string&nbsp;for&nbsp;numTas.</tt></dd></dl>
 <dl><dt><a name="-validateUniqueNumber"><strong>validateUniqueNumber</strong></a>(s)</dt><dd><tt>Validates&nbsp;string&nbsp;for&nbsp;uniqueNumber.</tt></dd></dl>
</td></tr></table>
</body></html>